/* 禁用页面缩放 */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* 隐藏滚动条 */
    width: 100%;
    height: 100%;
}

/* 背景选择容器样式 */
.backimg-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

/* 背景选择按钮样式 */
#backimg {
    background-color: #555;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#backimg:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#backimg:active {
    background-color: #222;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 视频背景容器样式 */
#background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 将视频放在最底层 */
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保视频覆盖整个容器，不可缩放 */
}

/* 图片背景样式 */
body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 固定背景，不随页面滚动 */
    background-repeat: no-repeat;
}

